﻿@model LoginModel
@{
    ViewData["Title"] = "Login";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<div class="row">
    <div class="col-md-6">
        <card title="Login">
            <form action="/account/login" method="post">
                <input type="hidden" name="returnUrl" value="@ViewData["ReturnUrl"]" />
                <div class="form-group">
                    <label class="col-form-label">用户名</label>
                    <input class="form-control" asp-for="UserName" />
                    <span asp-validation-for="UserName" class="swal2-validation-message"></span>
                </div>
                <div class="form-group">
                    <label class="col-form-label">密码</label>
                    <input class="form-control" asp-for="Password" />
                    <span asp-validation-for="Password" class="swal2-validation-message"></span>
                </div>
                <div>
                    <button class="btn btn-success">登录</button>
                </div>
            </form>
        </card>
    </div>
</div>

